﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using KingRoad.EPM.SafetyManagementEntity.Model;
using KingRoad.EPM.SafetyManagementDAL;
using Unis.Framework.RuleBase.Common;

namespace ScmCostActualService
{    
    /// <summary> 
    /// 文件生成时间 2017/2/13 18:20:56
    /// </summary> 
    public class ScmCostactualService :BaseService<ScmCostactualInfo>, IScmCostactualService
    { /// <summary>
        /// 删除实体对象
        /// 说明： 说明： 根据父表ID删除
        /// </summary>
        /// <param name="fid"></param>
        /// <returns></returns>
        public int DeleteEntityByStringFID(string fid)
        {
            int ret = DatabaseExcuteByXmlHelper.NewInstance.ExecuteNonQuery("ScmCostactual", "DeleteObjectByFid", fid);
            return ret;
        }
    }

}

